package com.hnevc.market;

public class Person {
	
	public Person(){
		System.out.println("无参构造函数");
	}
	
	String name;
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public void openMouse(){
		System.out.println("张开嘴");
	}
	
	//从market中购买product
	public Product buy(Market market, String productName){
		return market.sell(productName);
	}
}
